/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */
package com.yami.shop.distribution.common.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.distribution.common.dao.DistributionUserGroupMapper;
import com.yami.shop.distribution.common.model.DistributionUserGroup;
import com.yami.shop.distribution.common.service.DistributionUserGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author lgh on 2019/04/01.
 */
@Service
public class DistributionUserGroupServiceImpl extends ServiceImpl<DistributionUserGroupMapper, DistributionUserGroup> implements DistributionUserGroupService {

    @Autowired
    private DistributionUserGroupMapper distributionUserGroupMapper;

    @Override
    public IPage<DistributionUserGroup> distributionUserGroupsAndSysUserPage(Page page, DistributionUserGroup distributionUserGroup) {
        return distributionUserGroupMapper.distributionUserGroupsAndSysUserPage(page,distributionUserGroup);
    }

}
